package com.smartappsnetwork.personalexpenses;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ListView;

public class SearchActivity extends Activity 
{
	ListView lvSearchResults;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.search_activity);
		
		lvSearchResults = (ListView) findViewById(R.id.lvSearchResults);
		
		lvSearchResults.setOnItemClickListener(new OnItemClickListener() 
		{

			@Override
			public void onItemClick(AdapterView<?> parent, View view, int position, long id) 
			{
				startActivity(new Intent(getApplicationContext(), ItemInfoActivity.class));
			}
		});
	}
}
